On Rectilinear Link Distance

نویسنده

  • Mark de Berg
چکیده

Given a simple polygon P without holes all of whose edges are axis-parallel, a rectilinear path in P is a path that consists of axis-parallel segments only and does not cross any edge of P. The length of such a path is defined as the number of segments it consists of and the rectilinear link distance between two points in P is defined as the length of the shortest path connecting the two points. We devise a data structure usiag O(nlogn) storage such that given any two query points 8 and t in P, we can efficiently compute a shortest path from 8 to t. For the case where both query points are vertices of P the query time is 0(1 + I), where 1 is the length of a shortest path. If the query points are arbitrary points inside P then the query time becomes o (log n + I). The path that is found is not only optimal in the rectilinear link metric, it is shown to be optimal in the LI-metric as well. As a second problem we compute the diameter of a rectilinear polygon P. The diameter of P is the maximum distance between any two points in P. It is shown that the exact diameter can be computed in time O( n log n) and an approximation with an error of at most three in O( n) time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

k-Link Rectilinear Shortest Paths Among Rectilinear Obstacles in the Plane

We present an algorithm for computing k-link rectilinear shortest paths among rectilinear obstacles in the plane. We extend the “continuous Dijkstra” paradigm to store the link distance information associated with each propagating “wavefront”. Our algorithm runs in time O(kn log n) and space O(kn), where n is the number of vertices of the obstacles. Previous algorithms for the problem had worst...

متن کامل

Rectilinear Link Diameter and Radius in a Rectilinear Polygonal Domain

We study the computation of the diameter and radius under the rectilinear link distance within a rectilinear polygonal domain of n vertices and h holes. We introduce a graph of oriented distances to encode the distance between pairs of points of the domain. This helps us transform the problem so that we can search through the candidates more efficiently. Our algorithm computes both the diameter...

متن کامل

Minimum-link paths revisited

A path or a polygonal domain is C-oriented if the orientations of its edges belong to a set of C given orientations; this is a generalization of the notable rectilinear case (C = 2). We study exact and approximation algorithms for minimum-link C-oriented paths and paths with unrestricted orientations, both in C-oriented and in general domains. We obtain the following results: • An optimal algor...

متن کامل

Computing the Geodesic L 1 -diameter and Center of a Simple Rectilinear Polygon

The diameter of a set S of points is the maximal distance between a pair of points in S. The center of S is the set of points that minimize the distance to their furthest neighbours. The problem of nding the diameter and center of a simple polygon with n vertices for diierent distance measures has been studied extensively in recent years. There are algorithms that run in linear time if the geod...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. Geom.

دوره 1  شماره 

صفحات  -

تاریخ انتشار 1991